import React from 'react'
// import HomeHeader from '../../components/HomeHeader/index'
import {
    Link,
    Switch
} from 'react-router-dom';


class TopNav extends React.Component {

    constructor(props) {
        super(props)
    }

    render() {
        var match = this.props.match
        return (
            <span>
                <div className="navbar-header">
                    <button type="button" className="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span className="sr-only">Toggle navigation</span>
                        <span className="icon-bar"></span>
                        <span className="icon-bar"></span>
                        <span className="icon-bar"></span>
                    </button>
                    <a className="navbar-brand" href="/">吉大学生管理系统</a>
                </div>
                <ul className="nav navbar-top-links navbar-right">
                    <li className="dropDown">
                     <span>欢迎郝栩彬</span>
                    </li>
                    <li className="dropDown">
                        <a className="btn-logout" onClick={this.onLogout}>退出</a>
                    </li>
                </ul>

            </span>
        )
    }

}


export default TopNav
